define(function () {
    'use strict';
    return {
        controller: function (scope) {
            var self = this;
            this.scope =scope;
            scope.alertDialog = function () {
                self.isCanDialog();
            };
            scope.textContent = $.i18n.text('textInfo');
        },
        isCanDialog: function () {
            var self =this;
            ePart.pcUtils.dialog().open({
                template: 'src/scripts/template/LogoutDialog.html',
                //scope: this.so,
                overlay: false,
                controller:self.loginout

            })
        },
        loginout:function($scope){
            console.log($scope)
            $scope.Test=function(){
                alert(11111)
            }
        }
    }
});
